﻿using Nemesis.FiniteStateMachine;
using Nemesis.Plugins.NRelog.Settings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nemesis.Plugins.NRelog.States
{
    internal class IntervalState : State
    {
        public override string DisplayName
        {
            get { return "IntervalState"; }
        }

        public override bool NeedToRun
        {
            get { return SchedulerSettings.OnInterval(); }
        }

        public override int Priority
        {
            get { return 10000; }
        }

        public override void Run()
        {
            Logger.WriteLine("[NRelog] IntervalCheck: Time to go: " + SchedulerSettings.timeToGo + " minutes!");
        }
    }
}
